<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><{$title}>-会员信息</title>
<link href="../../favicon.ico" type="image/x-icon" rel="icon" />
<link href="../../favicon.ico" type="image/x-icon" rel="shortcut icon" />
<!-- CSS样式 -->
<link href="./css/table.css" rel="stylesheet" type="text/css"/>
<!-- JQuery-->
<script language="javascript" charset="utf-8" src="../js/jquery.min.js" type="text/javascript"></script>
<!-- datetime-->
<script language="javascript" charset="utf-8" src="./js/DatePicker/WdatePicker.js" type="text/javascript"></script>
<script language="javascript" charset="utf-8" src="./js/list.do.js" type="text/javascript"></script>
</head>
<body>
<{if $mod eq "edit"}>
<!-- 编辑 -->
<div  class="divmain">
</div>
<{else}>
<!-- 列表 -->
<div  class="divmain">
  <form id="select_form" name="select_form" method="get" action="user.php">
  <table border="0" cellspacing="1" cellpadding="3" width="100%" align="center">
	<tr><th width="100%">会员信息列表</th></tr>
	<tr>
	<td class="td5">
	<h4 class="hseach">
	<span>会员用户名/姓名:</span>
	<input type="text" id="keyword" name="keyword" class="seachInput" value="<{$keyword}>"/>
	<span>手机号码:</span>
	<input type="text" id="mobile" name="mobile" class="seachInput" value="<{$mobile}>"/>
	<span>注册时间:</span>
	   <input name="t1" id="t1" value="<{$t1}>" type="text" class="datatime" onFocus="var t2=$dp.$('t2');WdatePicker({lang:'zh-cn',isShowWeek:true,readOnly:true,onpicked:function(){t2.focus();},maxDate:'#F{$dp.$D(\'t2\')}',dateFmt:'yyyy-MM-dd'})"  />
	   <span>-</span>
	   <input name="t2" id="t2" value="<{$t2}>" type="text" class="datatime" onFocus="WdatePicker({lang:'zh-cn',isShowWeek:true,readOnly:true,minDate:'#F{$dp.$D(\'t1\')}',dateFmt:'yyyy-MM-dd'})" />
	<span>会员状态:</span>
	<select name="status" onchange="return formSubmit();">
	 <option <{if $status eq 0}>selected="selected"<{/if}> value="0" >全部</option>
	 <option <{if $status eq 1}>selected="selected"<{/if}> value="1" >&nbsp;冻结</option>
	 <option <{if $status eq 2}>selected="selected"<{/if}> value="2" >&nbsp;正常</option>
	 </select>
	<input type="hidden" id="page" name="page" value="<{$page}>" />
	<input type="button" name="" class="Nbtn" onclick="return formSubmit();" value=" 搜索 "/>
	</h4>
	</td>
  </tr>
  </table>
  </form>
</div>
<div class="divmain">
 <form id="info_user" name="info_user" method="post" action="<{$fpage}>&page=<{$page}>" >
<table width="100%" border="0"  cellpadding="1" cellspacing="1">
  <tr>
    <td width="5%" class="td2">序号</td>
    <td width="10%" class="td2">会员UID</td>
    <td width="15%" class="td2">会员用户名</td>
    <td width="12%" class="td2">姓名</td>
    <td width="10%" class="td2">手机号码</td>
    <td width="14%" class="td2">电子邮件</td>
    <td width="10%" class="td2">QQ</td>
    <td width="14%" class="td2">注册时间</td>
    <td width="5%" class="td2">会员状态</td>
  </tr>
  <{foreach from=$user_arr item=item}>
	<tr class="out" onMouseOver="this.className='over'" onMouseOut="this.className='out'">
	<td class="td4"><{$item.pageid}></td>
	<td class="td4"><{$item.uid}></td>
	<td class="td8"><{$item.newtitle}></td>
	<td class="td4"><{if $item.realname ne ""}><{$item.realname}><{else}>&nbsp;<{/if}></td>
    <td class="td4"><{if $item.mobile ne ""}><{$item.mobile}><{else}>&nbsp;<{/if}></td>
	<td class="td4"><{$item.email}></td>
	<td class="td4"><{if $item.qq ne ""}><{$item.qq}><{else}>&nbsp;<{/if}></td>
	<td class="td4"><{if $item.addtime ne ""}><{$item.addtime}><{else}>0000-00-00 00:00:00<{/if}></td>
	<td class="td4">
	<{if $item.status eq "0"}>
	<!-- 不显示 -->
	<img src="images/btn/ishow_no.png" title="点击激活会员" onclick="javascript:window.location.href='user.php?mod=ishow&ishowId=1&uid=<{$item.uid}>';">
	<{elseif $item.status eq "1"}>
	<!-- 显示 -->
	<img src="images/btn/ishow_ok.png" title="点击冻结会员" onclick="javascript:window.location.href='user.php?mod=ishow&ishowId=0&uid=<{$item.uid}>';">
	<{else}>
	<!-- 不显示 -->
	<img src="images/btn/ishow_no.png" title="点击激活会员" onclick="javascript:window.location.href='user.php?mod=ishow&ishowId=1&uid=<{$item.uid}>';">
	<{/if}></td>
  </tr>
  <{foreachelse}>
  <tr class="out" onmouseover="this.className='over'" onmouseout="this.className='out'">
  	<td colspan="9" class="td4">
  		<img src="./images/btn/msg.gif"/>&nbsp;<span class="xinghao">没有找到...</span>
		</td>
  	</tr>
  <{/foreach}>
  <tr>
  <tr>
    <td colspan="9" class="td7">
          <span class="nums"><{if $recordcount ne ""}><{$recordcount}><{else}>0<{/if}></span>条
            <{if $page ne "" && $pagecount ne "" && $page lt $pagecount}><{$page}><{else}>1<{/if}>/<{if $pagecount ne ""}><{$pagecount}><{else}>1<{/if}>页
            <a href="<{$fpage}>&page=1">首页</a>
			<{if $page gt 1}><a href="<{$fpage}>&page=<{$prepage}>">上页</a><{else}><a>上页</a><{/if}>
            <{foreach from=$numpage item=curr_id}>
            <{if $page eq $curr_id}>
            <a class="xinghao"><{$curr_id}></a>
            <{else}><a href="<{$fpage}>&page=<{$curr_id}>"><{$curr_id}></a>
            <{/if}>
            <{/foreach}>
            <{if $page lt $pagecount}><a href="<{$fpage}>&page=<{$nexpage}>">下页</a><{else}><a>下页</a><{/if}>
			<a href="<{$fpage}>&page=<{if $pagecount ne ''}><{$pagecount}><{else}>1<{/if}>">尾页</a>

    </td>
  </tr>
</table>
</form>
</div>
<{/if}>
</body>
</html>